//
//  positionsListModel.h
//  DaiShengInvest
//
//  Created by 张睿 on 2017/8/9.
//  Copyright © 2017年 davinci. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface positionsListModel : NSObject


//浮动盈亏
@property (nonatomic, copy)NSString * pnl;
//交易品种ID
@property (nonatomic, copy)NSString * symbol;
//挂单价格 (开仓)
@property (nonatomic, copy)NSString * openPrice;
//交易方向   买涨，买跌（buy，sell）
@property (nonatomic, copy)NSString * orderDirection;

@property (nonatomic, copy)NSString * positionId;
//交易手数
@property (nonatomic, copy)NSString * volume;


//KVC
+(instancetype)modelWithDictionary:(NSDictionary *)dic;

//访问网络
+(void)positionsListWithSucess:(void(^)(NSArray<positionsListModel *> *array))sucessBlock error:(void(^)())errorBlock;



@end
